import request from '../../utils/request'

//根据类型取值
export function getList() {
  return request.ajax({
      url: `/mallClassify/listAll`,
      method: 'post'
  })
} 
export function getSecond(id) {
  // recommend= recommend || 'N'
  return request.ajax({
      url: `/mall/classify/getSecond/${id}`,
      method: 'post'
  })
} 
export function getHot() {
  return request.ajax({
      url: `/mall/classify/getHot`,
      method: 'post'
  })
} 
export function customerList() {
  return request.ajax({
      url: `/storeClassify/customerList`,
      method: 'post'
  })
} 
export function getFirstList() {
  return request.ajax({
      url: `/mall/classify/listFirst`,
      method: 'post'
  })
} 